package com.funymmz.demo.dao;

import com.funymmz.demo.domain.Babyroom;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface BabyroomRepository extends JpaRepository<Babyroom, Long>{
    List<Babyroom> findByName(String name);
    List<Babyroom> findByMarket(String market);
}
